/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.tms.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.tms.entity.NewBill;
import com.jeeplus.modules.tms.mapper.NewBillMapper;

/**
 * 运单Service
 * @author 李超辉
 * @version 2019-04-29
 */
@Service
@Transactional(readOnly = true)
public class NewBillService extends CrudService<NewBillMapper, NewBill> {

	public NewBill get(String id) {
		return super.get(id);
	}
	
	public List<NewBill> findList(NewBill newBill) {
		return super.findList(newBill);
	}
	
	public Page<NewBill> findPage(Page<NewBill> page, NewBill newBill) {
		return super.findPage(page, newBill);
	}
	
	@Transactional(readOnly = false)
	public void save(NewBill newBill) {
		super.save(newBill);
	}
	
	@Transactional(readOnly = false)
	public void delete(NewBill newBill) {
		super.delete(newBill);
	}
	
}